package admin.common.domain.rsp;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.List;

/**
 * @author zgb
 * @date 2024-03-06 16:29
 * @description TODO
 */

@Schema(description = "员工花名册 响应对象")
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class EmployeesRsp implements Serializable {
    private static final long serialVersionUID = -1242493306307174690L;


    @Schema(description = "是否还有更多项")
    @JsonProperty("has_more")
    private Boolean  hasMore;

    @Schema(description = "员工列表")
    private List<EmployeeRsp> items;

    @Schema(description = "分页标记，当 has_more 为 true 时，会同时返回新的 page_token，否则不返回 page_token")
    @JsonProperty("page_token")
    private String pageToken;


}
